import { Routes, RouterModule } from '@angular/router';
import { bookListComponent } from './book-list.component';
import { ModuleWithProviders } from '@angular/core';
// import { adMathComponent } from '../adMath-component/adMath.component';

const booklistRoutes: Routes = [
    {
        path: '',
        component: bookListComponent,
        children: [
            // { path: '', component: bookListComponent },
            // { path: 'adMath', component: adMathComponent }
        ]
    }
];

export const bookRouting: ModuleWithProviders = RouterModule.forChild(booklistRoutes);

